package com.rayo.accesscontrollercopy.utils;

import android.content.Context;

import com.rayo.accesscontrollercopy.R;

/**
 * Created by lyc-pc on 17/7/13.
 */

public class KeyTypeUtils {
    public static String get(Context context,int type){
        String ret=context.getString(R.string.unknow_user);
        switch (type){
            case 0x50:
                ret=context.getString(R.string.user_key);
                break;

            case 0x35:
                ret=context.getString(R.string.emergency_key);
                break;
            default:
                break;
        }


        return ret;
    }
}
